| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRAnglesToCoord function to get a floating-point coordinate determined by a pair of pan and tilt angles.
OSErr QTVRAnglesToCoord (
QTVRInstance qtvr,
floatpanAngle,
floattiltAngle,
QTVRFloatPoint*coord);
The QTVRAnglesToCoord function returns, in the QTVRFloatPoint structure pointed to by the coord parameter, the coordinates of the point in the full panorama of the movie specified by the qtvr parameter that corresponds to the pan and tilt angles specified by the panAngle and tiltAngle parameters.
Use QTVRCoordToAngles (link) to get a pair of pan and tilt angles from a floating-point coordinate.
| Previous | Chapter contents | Chapter top | Section top | Next |